AI SDK Kotlin
Toggle table of contents
0.2.0
common
Target filter
common
Switch theme
Search in API
Skip to content
AI SDK Kotlin
AI SDK Kotlin
/
ai.torad.aisdk
/
TextGenerationRequestBuilder
Text
Generation
Request
Builder
class
TextGenerationRequestBuilder
Members
Properties
prompt
Link copied to clipboard
var
prompt
:
String
?
settings
Link copied to clipboard
var
settings
:
CallSettings
system
Link copied to clipboard
var
system
:
String
?
Functions
message
Link copied to clipboard
fun
message
(
message
:
ModelMessage
)
messages
Link copied to clipboard
fun
messages
(
values
:
Iterable
<
ModelMessage
>
)
prompt
Link copied to clipboard
fun
prompt
(
value
:
String
)
settings
Link copied to clipboard
fun
settings
(
value
:
CallSettings
)
fun
settings
(
block
:
CallSettingsBuilder
.
(
)
->
Unit
)
system
Link copied to clipboard
fun
system
(
value
:
String
)